libtraceevent: Copy pkg-config file to output folder when using O=
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 15 Nov 2019 11:36:10 +0000 (11:36 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Sun, 5 Jan 2020 14:40:37 +0000 (14:40 +0000)
commit228f8ae58601dc64300a6e6475f8700388411ca8
treed0c6f0cfbae3782ce7ccf1aeff5877c452e44ea2
parentaf2323c17113cd46bee5c7b6c87998ee522a3e71
libtraceevent: Copy pkg-config file to output folder when using O=

When we use 'O=' with make to build libtraceevent in a separate folder
it still copies 'libtraceevent.pc' to its source folder. Modify the
Makefile so that it uses the output folder to copy the pkg-config file
and install from there.

Signed-off-by: Sudipm Mukherjee <sudipm.mukherjee@gmail.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: linux-trace-devel@vger.kernel.org
Link: http://lore.kernel.org/lkml/20191115113610.21493-2-sudipm.mukherjee@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name 0003-libtraceevent-Copy-pkg-config-file-to-output-folder-.patch
tools/lib/traceevent/Makefile